﻿using Red.EngineData.Helpers;
using System.IO;

namespace Red.EngineData.View
{
    /// <summary>
    /// Protocol wrapper for exception.
    /// </summary>
    public class ProtocolException : IOException
    {
        /// <summary>
        /// 
        /// </summary>
        public InteropDebugInfo DebugInfo;

        public ProtocolException( string message, InteropDebugInfo debugInfo ) 
            : base( message )
        {
            DebugInfo = debugInfo;
        }
    }
}
